package com.jnks.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 用户开启反制设备记录表
 * </p>
 *
 * @author jbllin@net.sy
 * @since 2023-04-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("device_strike_log_t")
public class DeviceStrikeLogTDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 设备id
     */
    private Integer deviceId;

    /**
     * 类型1-开启0-关闭
     */
    private Integer type;

    /**
     * 反制时间
     */
    private Date strikeTime;

    /**
     * 0-迫降1-驱离3-gps诱骗
     */
    private Integer strikeType;

    /**
     * 无人值守 0-否 1-是
     */
    private Integer autoStrike;

    /**
     * 持续时间
     */
    private Integer strikeSeconds;

    /**
     * 调用用户id
     */
    private Integer strikeUser;

    /**
     * 重点单位id
     */
    private Integer companyId;

    /**
     * 设备类型（dictionary_t 5)
     */
    private Integer typeId;
}
